<?php
global $base_url;
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
?>
<div class='quick-access'>
    <div class='container'>
        <div class="row">
            <div class='col-md-11 col-lg-offset-1'>
                <ul class='btn-n-contact'>

                    <?php
                    $contador = 1;
//                        $main_menu = menu_tree("menu-menu-institucional");

                    $main_menu = menu_tree('menu-menu-contato');

                    foreach ($main_menu as $strChave => $item):

                        if ($strChave == "#sorted" || $strChave == "#theme_wrappers")
                            continue;

                        $nome_item = $item['#title'];

                        $url_item = drupal_get_path_alias($item['#href']);

                        if ($contador == 1)
                            $class = "speak";
                        else if ($contador == 2)
                            $class = "join-us";
                        elseif ($contador == 3)
                            $class = "offer";

                        $contador++;
                        ?>
                        <li class='<?php print $class; ?>'>
                            <a href="<?php print $base_url; ?>/<?php print $url_item; ?>">
                                <?php print $nome_item; ?>
                            </a>
                        </li>
                        <?php
                    endforeach;
                    ?>
                </ul>
            </div>
        </div>
    </div>
</div>